//
//  WebViewController.m
//  u76ho
//
//  Created by m-air-01 on 16/2/22.
//  Copyright © 2016年 LV. All rights reserved.
//

#import "WebViewController.h"
//#import "FeRollingLoader.h"

@interface WebViewController ()
//@property (strong, nonatomic) FeRollingLoader *rollingLoader;
@end

@implementation WebViewController
#pragma mark - 视图的生命周期
-(void)viewWillAppear:(BOOL)animated
{
    
    [super viewWillAppear:YES];


}

- (void)viewDidLoad {
    [super viewDidLoad];
    [self main];
//    _rollingLoader = [[FeRollingLoader alloc] initWithView:self.view title:@"LOADING"];
//    [self.view addSubview:_rollingLoader];
//    [_rollingLoader show];
    
    self.navigationItem.title = _titleStr;
   // [self addBackItem];
    
    // Do any additional setup after loading the view.
}
-(void)main
{
    self.automaticallyAdjustsScrollViewInsets = NO;
    UIWebView * webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 64, SCREEN_WIDTH, SCREEN_HEIGHT-64)];
    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_url]]];
    [self.view addSubview:webView];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
